package com.cnhonker.edu.core.constants;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by Apple on 2017/6/11.
 */
@Component
public class Commons {

    @Value("#{propertyConfigurer['contextPath']}")
    public static String contextPath;

    public static String getContextPath() {
        return contextPath;
    }

    public static void setContextPath(String contextPath) {
        Commons.contextPath = contextPath;
    }
}
